class CreateBundlings < ActiveRecord::Migration
  def self.up
    create_table :bundlings do |t|
      t.references  :bundle
      t.references  :posting
      t.references  :user
      t.integer     :position
      t.boolean     :current, :default => true
      t.string      :notes, :limit => 1.kilobyte
      t.timestamps
    end
  end

  def self.down
    drop_table :bundlings
  end
end
